﻿using System;
using System.Threading;

namespace TShooter.TfsSearch.EngineModel
{
    public interface IService
    {
        event EventHandler Finished;
        string Name { get; }
        bool IsActive { get; }
        void Start();
        void Stop();
        void Pause(int autoResumeMillisecs);
        void Resume();
        ThreadPriority Priority { get; set; }
    }
}
